package com.kevin.prototype;

/**
 * 具体原型类
 *
 * @author kevin
 * @date 2025/8/21
 */
public class RealizeType implements Cloneable{

    public RealizeType() {
        System.out.println("具体原型创建完成！");
    }

    public Object clone() throws CloneNotSupportedException {
        System.out.println("具体原型复制成功！");
        return (RealizeType)super.clone();
    }
}
